package com.xiao.live.feigngoods;

import com.xiao.group.common.Vo.GoodsEntity;
import com.xiao.group.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("community-server")
@RequestMapping("community/goods")
public interface FeignGoods {
    @RequestMapping("/toinfo")
    public GoodsEntity toinfo(@RequestParam("goodsId") Integer goodsId);
    @RequestMapping("togoodslist")
    public List<GoodsEntity> togoodsList(@RequestParam("idss")String idss);

    @RequestMapping("togoodslists")
    public  List<GoodsEntity> togoodslists();
}
